from django.urls import path
from apps.activity.views import ActivityAPIView, ActivityPageAPIView,ActivityJoinAPIView

urlpatterns = [
    # 展示活动
    path('gatherings/', ActivityAPIView.as_view()),

    # 报名活动
    path('gatherings/<id>/join/', ActivityJoinAPIView.as_view()),

    # 活动详情
    path('gatherings/<id>/', ActivityPageAPIView.as_view()),

]
